home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _16669E4015DF4EE1BE444A48B5A2845D < prev    next >
Extensible Markup Language  |  2008-10-24  |  2KB  |  71 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output 
  9.   method="html" 
  10.   version="4.0" 
  11.   encoding="UTF-8" 
  12.   omit-xml-declaration="yes" 
  13.   indent="yes"/>
  14.  
  15. <xsl:template match="/report">
  16.  
  17. <html>
  18.  
  19.   <h2>QT_TRANSLATE_NOOP("QObject", "Short E-mail notification report.")</h2>
  20.     
  21.   <p>
  22.     <h3>QT_TRANSLATE_NOOP("QObject", "System info:")</h3>
  23.       QT_TRANSLATE_NOOP("QObject", "Computer Name: ")<xsl:value-of select="computer"/><br/>
  24.     <xsl:value-of select="OS"/>
  25.   </p>
  26.  
  27.   <p>
  28.   <h3>QT_TRANSLATE_NOOP("QObject", "Summary:")</h3>
  29.     QT_TRANSLATE_NOOP("QObject", "Generated: ")<xsl:value-of select="generated"/><br/><br/>
  30.   <xsl:choose>
  31.     <xsl:when test="error">
  32.       QT_TRANSLATE_NOOP("QObject", "Not the all operations have been applied.")
  33.       <br/>QT_TRANSLATE_NOOP("QObject", "The following error had occured:")
  34.       <xsl:value-of select="error/@description"/> (<xsl:value-of select="error/@code"/>)
  35.     </xsl:when>
  36.     <xsl:otherwise>
  37.       QT_TRANSLATE_NOOP("QObject", "All operations have been applied successfully.")
  38.     </xsl:otherwise>
  39.   </xsl:choose>
  40.   </p>  
  41.   
  42.   <p>
  43.     <h3>QT_TRANSLATE_NOOP("QObject", "The following operations have been performed:")</h3>
  44.     <ol>
  45.     <xsl:for-each select="action[@type='physical']">
  46.       <li>
  47.         <h4><xsl:value-of select="@description"/></h4>
  48.       </li>
  49.       
  50.       <br/>
  51.       <xsl:if test="error">
  52.         <b>QT_TRANSLATE_NOOP("QObject", "The operation has failed:")</b>
  53.         <xsl:value-of select="error/@description"/> (<xsl:value-of select="error/@code"/>)
  54.  
  55.       </xsl:if>
  56.       
  57.     </xsl:for-each>
  58.     </ol>
  59.   </p>
  60.  
  61.   <hr/><br/>
  62.   <font color="gray" size="-1">
  63.       QT_TRANSLATE_NOOP("QObject", "You have requested short e-mail reports from Drive BackupΓäó")<br/>
  64.     QT_TRANSLATE_NOOP("QObject", "Please change e-mail options to get full reports or to stop getting the reports.")
  65.   </font>
  66.  
  67. </html>  
  68. </xsl:template>
  69.  
  70. </xsl:stylesheet>
  71.